﻿<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6 settings-main_background" lang="zh"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7 settings-main_background" lang="zh"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8 settings-main_background" lang="zh"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9 settings-main_background" lang="zh"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html class="settings-main_background" lang="zh"><!--<![endif]-->
<head>
    <meta charset="utf-8">
    <link rel="dns-prefetch" href="//asset.ibanquan.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <title>所有文章</title>
    <meta name="keywords" content="">
    <meta name="description" content="所有文章">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
    <link rel="shortcut icon" href="__STATIC__/home/index/picture/2.png" type="image/x-icon">
    <link href='__STATIC__/home/index/css/base-160225.min_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/iconfont_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/iconfont-1_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/main_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/user_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href="__STATIC__/home/js/bootstrap/css/bootstrap.css" rel="stylesheet">
    <script src='__STATIC__/home/index/js/jquery-1.11.3.min_4.js' type='text/javascript'></script>
    <script src='__STATIC__/home/index/js/jssdk-0.0.18.min_4.js' type='text/javascript'></script>
    <script src='__STATIC__/home/index/js/lazyload.min_5.js' type='text/javascript'></script>

    <script>(function(){var yt = document.createElement('script');yt.src = '//asset.ibanquan.com/common/js/tracker-0.0.2.min.js?v=142';var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(yt, s);})();</script>
</head>
<body >
<!--导航-->
<div class="head container settings-top_background">
    <div class="head-t">
        <div class="head-btn settings-top_color">
            <i class="iconfont icon-hanbao" id="nav_mobile"></i>
        </div>
        <div class="head-tl">
            <a href="{:url('home/index/index')}">
                <img src="__STATIC__/home/index/picture/456.png" alt="创学习">
            </a>
        </div>

        <div class="head-tr">
            <div id="navline" style=""></div>
            <ul class="dropdown-list">


                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/index/index')}"

                    >
                        首页
                    </a>
                </li>


                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/courses/index')}"

                    >
                        课程
                    </a>
                </li>


                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/article/index')}"

                    >
                        文章
                    </a>
                </li>


                <li class="dropdown-list-item">
                    {if condition="$user_id gt 0"}
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/users/index')}">个人中心
                    </a>
                    {else /}
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/users/login')}">登录注册
                    </a>
                    {/if}

                </li>

                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/index/contact')}"
                    >
                        联系我们
                    </a>
                </li>
                {if condition="$user_id gt 0"}
                <li class="dropdown-list-item">
                    <a class=" del dropdown-link settings-nav_text_color"
                    >
                        退出
                    </a>
                </li>
                {/if}
            </ul>
        </div>

    </div>
</div>
<!--手机导航-->
<div class="container wrapper-mobile_nav" id="mobile_menu">
    <div class="mobile_nav">
        <!-- -->
        <div class="mobile_nav_menu settings-mobi_nav_background">
            <div class="mobile_nav_top settings-top_color settings-main_border">
                <a href="{:url('home/index/index')}">
                    <img src="__STATIC__/home/index/picture/456.png" alt="创学习">
                </a>
                <i class="iconfont icon-close" id="closeMbileNav"></i>
            </div>
            <!-- 一级菜单 -->
            <ul id="side-nav-link" class="side-nav-link">



                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/index/index')}"

                    >
                        首页
                    </a>
                </li>


                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/courses/index')}"

                    >
                        课程
                    </a>
                </li>


                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/article/index')}"

                    >
                        文章
                    </a>
                </li>


                <li class="side-nav-link-each">
                    {if condition="$user_id gt 0"}

                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/index/index')}">
                        个人中心
                    </a>
                    {else /}
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/users/login')}">
                        登录注册
                    </a>
                    {/if}

                </li>

                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/index/contact')}"

                    >
                        联系我们
                    </a>
                </li>
                {if condition="$user_id  gt 0"}
                <li class="side-nav-link-each">
                    <a class="del settings-nav_text_color settings-sideLinkHover_color" >
                        退出
                    </a>
                </li>
                {/if}
                <!---->
            </ul>
        </div>
        <div class="mobile_nav_bg" id="mobile_bg"></div>
        <!-- -->
    </div>
</div>




    <div class="container settings-main_background_color">
    <div class="breadcrumb settings-main_text_color txt-overflow">
    </div>
</div>

<div class="container settings-main_background_color page-list-header page-container">
    <div class="pageTitle txt-overflow">
                <h2 class="">
                    {$nameid.catname}
                </h2>

            </div>
            <div class="pageSubTitle"> <span>实时动态、精品文章推送</span></div>
    <div class="post-wrapper">
        <div class="post-cont settings-main_content_background_color">
            
            <div class="post">
                
                    <div class="post-list lazyload_scope">

                        {volist name="row" id="vo"}
                            <div class="post-list-each ">
	<a href="{:url('home/article/details')}?id={$vo.article_id}" class="post-list-each-pic settings-main_header_color">
		<div class="post-list-each-pic-inner"><img class="" src="{$vo.photo}" /></div>
	</a>
	<div class="post-list-each-content">
		<h3 class="settings-main_header_color"> <a href="{:url('home/article/details')}?id={$vo.article_id}" class="settings-main_header_color settings-main_border">{$vo.article_title}</a> </h3>
		<p class="settings-main_text_color">{$vo.article_content}</p>
		<div class="post-info settings-main_desc_color">
			<span class="post-info-publish_at">{$vo.article_time|date="Y-m-d H:i",###}</span>
			<span class="post-info-dirs">
				<span class='iconfont-1 icon-biaoqian'></span>
			</span>
			
		</div>
	</div>
</div>
           {/volist}

                        
                    </div>
                
            </div>
        </div>
    </div>
    <div class="post-side">
                <div class="post-dirs-wrapper">
                    <div class="post-dirs-heading settings-text_color settings-main_border">
                        文章目录
                    </div>
                    <ul class="post-dirs-list settings-main_border" id="post-dirs-list">

                        <li class="post-dir-1 settings-main_border active">
                            <a href="{:url('home/article/index')}" class="post-dir-1-box settings-text_color">
                                <span class="post-dir-dot"></span>所有文章
                            </a>
                        </li>
                        {volist name="acTcls" id="vo"}
                        <li class="post-dir-1 settings-main_border active">
                            <a href="{:url('home/article/select')}?id={$vo.class_id}" class="post-dir-1-box settings-text_color">
                                <span class="post-dir-dot"></span>{$vo.catname}
                            </a>
                        </li>
                        {/volist}

                    </ul>
                </div>

            </div>
            
<div class="prolist-spfilter-pagenation">
    {$page}
</div>

</div>
<div id='tracecode'></div>
<!--尾部-->
<div class="footer container settings-footer_background">
    <div class="footer-content">
        <div class="footer-t">
            <div class="footer-t-l">
                <div class="footer-nav">

                    <a class="footer-link settings-footer_text_color" href="https://youhaosuda.com/" >关于我们</a>

                    <span class="footer-split settings-footer_text_color">|</span>


                    <a class="footer-link settings-footer_text_color" href="https://youhaosuda.com/" >友情链接</a>

                    <span class="footer-split settings-footer_text_color">|</span>


                    <a class="footer-link settings-footer_text_color" href="/posts?dir_id=15730" >更多文章</a>

                    <span class="footer-split settings-footer_text_color">|</span>


                    <a class="footer-link settings-footer_text_color" href="/pages/g000001" >最新动态</a>


                </div>
            </div>
        </div>
        <div class="footer-b settings-footer_text_color">
            © 2017 youhaosuda.com All rights reserved.Powered by Youhaosuda.
        </div>
    </div>
</div>

<script src='__STATIC__/home/index/js/main_5.js' type='text/javascript'></script>
<script src='__STATIC__/home/index/js/user_5.js' type='text/javascript'></script>
<script>

    $(document).ready(function () {
        $(".del").click(function () {
            $.get("{:url('home/users/login_out')}", function (data) {

                console.debug(data);

                if(data == 1){
                    layer.msg('退出成功！！', {icon: 1});

                    setTimeout(function(){
                        window.location.href="{:url('home/index/index')}";
                    },500);

                }
            })
        })
    })
</script>
</body>
</html>
